package com.sss.hloster03;
import java.util.Scanner;
public class TestIf04 {

	public static void main(String[] args) {
		int JavaScore = -1;
		Scanner input = new Scanner(System.in);
		System.out.print("请输入王云同学的Java考试成绩：");
		JavaScore = input.nextInt();
		//使用if。。。else。。实现
		if(JavaScore >=85) {
			System.out.print("成绩优秀！！");
		}else if(JavaScore >=70) {
			System.out.print("成绩良好！");
		}else if(JavaScore >=60) {
			System.out.print("成绩合格。");
		}else {
			System.out.print("成绩不合格");
		}
	
	}

}
